﻿using DotLiquid;
using Unknown.Source.Entity.NormalView;

namespace Unknown.Source.Entity.Coder
{
    /// <summary>
    /// 属性描述类
    /// </summary>
    public class PropertyDescribe : Drop
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public string Parameter { get; set; }
        /// <summary>
        /// 数据类型
        /// </summary>
        public string DataType { get; set; }
        /// <summary>
        /// 赋值方法
        /// </summary>
        public string Assign { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string DefaultValue { get; set; }
        /// <summary>
        /// 数据库类型
        /// </summary>
        public string DatabaseType { get; set; }
        /// <summary>
        /// 是否不变
        /// </summary>
        public bool Constant { get; set; }
        /// <summary>
        /// 字段
        /// </summary>
        public Column Column { get; set; }
    }
}
